Combining these functions with the identifier for a specific key checks for key combinations. For example, the phrase “the ShiftDown and the key” means he Shift key and the key pressed at the same time.

Modifier key codes vary on different platforms. For example, the Alt key isn’t detected on some PC keyboards. Before distributing a projector that needs to identify which key the user presses, test the projector on all the platforms that you expect the projector to play on.